Total Complexity | 23 |
Dependencies | 2 |
Dependents | 3 |
Total lines | 149 |
Lines of code | 101 |
Logical lines of code | 32 |
Comment lines | 30 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
remove_modal_settings_from_shipping_methods() | 57 | 9 | 16 | |
add_fields() | 61 | 4 | 11 | |
add_table_rate_fields() | 53 | 3 | 24 | |
sanitize_shipping_rules() | 70 | 2 | 7 | |
generate_shipping_rules_html() | 60 | 1 | 13 | |
get_not_allowed_shipping_methods_instance_settings() | 65 | 1 | 11 | |
hooks() | 70 | 1 | 5 | |
get_allowed_shipping_methods_instance_settings() | 69 | 1 | 8 | |
get_allowed_shipping_methods_global_settings() | 73 | 1 | 6 |